/**
 * 
 */
package com.wqr.it.ecwdr.client.util;

import java.util.Random;

/**
 * @author adinos
 *
 */
public class UserAgentUtil {
	private static String[] agents = { 
			"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36",
			"Mozilla/5.0 (Windows NT 6.1; rv:47.0) Gecko/20100101 Firefox/47.0",
			"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.803.0 Safari/535.1",
			"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0",
			"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.0; Trident/4.0; doyo 2.6.1)",
			"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.65 Safari/535.11",
			"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1",
			"Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36",
			"Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.2357.125 Safari/537.36 OPR/30.0.1835.88",
			"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.861.0 Safari/535.2",
			"Mozilla/5.0 (Windows NT 6.2; rv:43.0) Gecko/20100101 Firefox/43.0",
			"Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36",
			"Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1667.0 Safari/537.36",
			"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.52 Safari/537.36 OPR/31.0.1889.50 (Edition beta)",
			"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36 OPR/30.1835.49 (Edition beta)",
			"Mozilla/5.0 (Linux; Android 5.0.2; NX512J Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile MQQBrowser/6.2 TBS/036555 Safari/537.36 MicroMessenger/6.3.22.821 NetType/WIFI Language/zh_CN",
			"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.0; Trident/4.0; BTRS69229; GTB7.4; .NET CLR 2.0.50727)",
			"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.215 Safari/535.1",
			"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 SE 2.X MetaSr 1.0",
			"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36",
			"Mozilla/5.1 (compatible; MSIE 9.1; Windows NT 6.1; Trident/5.1",
			"Mozilla/4.1 (compatible; MSIE 8.1; Windows NT 6.1; Trident/5.1)",
			"Mozilla/5.1 (Macintosh; Intel Mac OS X 10.7; rv:2.0.2) Gecko/20100101 Firefox/4.0.5",
			"Mozilla/5.1 (Windows NT 6.1; rv:2.0.2) Gecko/20100102 Firefox/4.1.5",
			//"Opera/9.80 (Macintosh; Intel Mac OS X 10.6.8; U; en) Presto/2.8.131 Version/11.11",
			//"Opera/9.80 (Windows NT 6.1; U; en) Presto/2.8.131 Version/11.11",
			"Mozilla/5.1 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/536.14 (KHTML, like Gecko) Chrome/17.0.963.57 Safari/535.16",
			//"Mozilla/5.1 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.1.2 Mobile/8J2 Safari/6533.18.5",
			//"Mozilla/5.1 (Linux; U; Android 2.3.7; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1",
			//"Opera/9.80 (Android 2.3.4; Linux; Opera Mobi/build-1107180945; U; en-GB) Presto/2.8.149 Version/11.10",
			//"Mozilla/5.1 (Linux; U; Android 3.0; en-us; Xoom Build/HRI39) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13",
			//"UCWEB7.0.2.37/28/999",
			"Mozilla/5.1 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.18) Gecko/20130303 Firefox/3.6.15",
			"Mozilla/5.1 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.19 (KHTML, like Gecko) Chrome/10.0.648.135 Safari/534.16"
	};
	private static Random random = new Random();

	public static String getAgent() {
		return agents[random.nextInt(agents.length)];
	}
}
